package com.qujia.fleet.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class FleetCardRecordBalanceVo implements Serializable {

    @ApiModelProperty(name = "车队卡id")
    private Long fleetCardId;
    @ApiModelProperty(name = "车队卡子卡id")
    private Long fleetCardSubId;

    @ApiModelProperty(name = "油企id")
    private Long enterpriseId;

    @ApiModelProperty(name = "油企名称")
    private String enterpriseName;

    @ApiModelProperty(name = "油站id")
    private Long stationId;

    @ApiModelProperty(name = "油站名称")
    private String stationName;

    @ApiModelProperty(name = "车队名称")
    private String fleetName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "车队卡充值类型：cz:充值，imp：手动增加，msub：手动扣减,cdk:车队卡消费")
    private String cardType;

    @ApiModelProperty(name = "交易金额")
    private BigDecimal rechargeAmount;

    @ApiModelProperty(name = "赠送金额")
    private BigDecimal giftAmount;

    @ApiModelProperty(name = "车队卡余额")
    private BigDecimal afterBalance;

    @ApiModelProperty(name = "主卡号")
    private String parentCardNumber;

    @ApiModelProperty(name = "子卡号")
    private String sonCardNumber;

    @ApiModelProperty(name = "用户名")
    private String userName;

    @ApiModelProperty(name = "手机号")
    private String userPhone;

    @ApiModelProperty(name = "交易订单号")
    private String fleetOrderNo;

    @ApiModelProperty(name = "油品")
    private String oilName;

    @ApiModelProperty(name = "备注")
    private String notes;

    @ApiModelProperty(name = "车队卡主卡余额")
    private BigDecimal fleetCardBalance;

    @ApiModelProperty(name = "车队卡主卡余额总计")
    private BigDecimal parentCardNumberBalance;

    @ApiModelProperty(name = "车队卡子卡卡余额总计")
    private BigDecimal sonCardNumberBalance;

    @ApiModelProperty(name = "车队卡消费总计")
    private BigDecimal consumptionBalance;

    @ApiModelProperty(name = "车队卡充值总计")
    private BigDecimal rechargeBalance;

    @ApiModelProperty(name = "车队卡总计赠送")
    private BigDecimal giftBalance;

}
